﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Polaris.Domain.Model.Dto.Sys_Dictionary_Item.Request
{
    /// <summary>
    /// 创建字典项字段
    /// </summary>
    public class CreateDictionaryItemRequest
    {
        /// <summary>
        /// 字典id
        /// </summary>
        public Guid DictionaryId { get; set; }

        /// <summary>
        /// 父级id，树形结构需要
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 属性值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 排序，数字越大，排序越前
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public bool Enable { get; set; }
    }
}
